﻿<UserControl x:Class="EQual.MainModule.Employees.DetailsViews.EmployeeDetailedControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
   xmlns:controls="clr-namespace:WpfApplicationExperimental;assembly=WpfApplicationExperimental"
   xmlns:local="clr-namespace:EQual.MainModule" 
    Height="152" Width="450">
    <UserControl.Resources >
       <local:BinaryToImageConverter  x:Key="ImageSourceConverter" />
    </UserControl.Resources>
    <Grid Height="149">
        <TextBox Text="{Binding Path=id}" Height="23" HorizontalAlignment="Left" Margin="12,31,0,0" Name="textBox1" VerticalAlignment="Top" Width="120" />
        <TextBox Text="{Binding Path=name}" Height="23" Margin="162,31,0,0" Name="textBox2" VerticalAlignment="Top" HorizontalAlignment="Left" Width="120" />
        <TextBox Text="{Binding Path=surname}" Height="23" HorizontalAlignment="Right" Margin="0,31,25,0" Name="comboBox1" VerticalAlignment="Top" Width="120" />
        <Label Height="28" HorizontalAlignment="Left" Margin="12,0,0,0" Name="ΚωδικόςΕγγράφου" VerticalAlignment="Top" Width="120">Κωδικός Εργαζομένου</Label>
        <Label Height="28" Margin="162,0,168,0" Name="Τίτλος" VerticalAlignment="Top">Όνομα</Label>
        <Label Height="28" HorizontalAlignment="Right" Margin="0,0,25,0" Name="Τύπος" VerticalAlignment="Top" Width="120">Επίθετο</Label>
        <Image Source="{Binding Path=Picture,Converter={StaticResource ImageSourceConverter}}" Margin="105,60,0,6" Name="image1" Stretch="Uniform" MouseDown="image1_MouseDown" HorizontalAlignment="Left" Width="95" />
        <Button Height="23" HorizontalAlignment="Left" Margin="12,0,0,38" Name="button1" VerticalAlignment="Bottom" Width="87" Click="button1_Click">Upload Picture</Button>
    </Grid>
</UserControl>
